.card-header {
  font-weight: bold;
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  color: #666;
}
.monitor-cont {
  background-color: #fff;
  padding: 0 20px !important;
}
.tab-cont {
  height: calc(100vh - 100px);
  background-color: #fff;
  padding: 10px 0px;
  position: relative;
}
.add-header {
  height: 50px;
  line-height: 50px;
}

::v-deep .el-drawer__body {
  position: relative;
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: calc(100vh - 100px);
  background-color: #fff;
  width: 30vw;
  border-left: 2px solid #eee;
  padding: 0 20px;
}
.title {
  height: 50px;
  line-height: 50px;
  border-bottom: 2px solid #ddd;
  padding: 0 30px;
}
::v-deep .el-drawer {
  height: calc(100vh - 100px) !important;
  top: 100px;
}

::v-deep #el-drawer__title {
  padding: 0 !important;
  position: relative;
}
::v-deep .el-drawer__header {
  margin: 0;
}
.arrow {
  position: absolute;
  top: 25px;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #666;
  color: #fff;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.arrow-left {
  position: absolute;
  top: 25px;
  right: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #666;
  color: #fff;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.drawer-content {
  padding: 20px;
  .content {
    width: 100%;
    height: 40vh;
    background-color: rgb(245, 247, 251);
    margin-top: 20px;
  }
}

.el-tab-pane {
  padding: 20px;
}

::v-deep .el-tabs__nav-scroll {
  padding: 0 10px;
}

.status {
  display: flex;
  justify-content: center;
  align-items: center;
}
.linked {
  color: #409eff;
  width: 70px;
  position: relative;
  &::before {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #409eff;
  }
}

.disconnect {
  color: #f56c6c;
  width: 70px;
  position: relative;
  &::before {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #f56c6c;
  }
}
